﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopPicture : BaseObject
    {
        //begin
        public TopPicture(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _PictureId;
        [Size(SizeAttribute.Unlimited)]
        public string PictureId
        {
            get
            {
                return _PictureId;
            }
            set
            {
                SetPropertyValue("PictureId", ref _PictureId, value);
            }
        }
        private string _PictureCategoryId;
        [Size(SizeAttribute.Unlimited)]
        public string PictureCategoryId
        {
            get
            {
                return _PictureCategoryId;
            }
            set
            {
                SetPropertyValue("PictureCategoryId", ref _PictureCategoryId, value);
            }
        }
        private string _PicturePath;
        [Size(SizeAttribute.Unlimited)]
        public string PicturePath
        {
            get
            {
                return _PicturePath;
            }
            set
            {
                SetPropertyValue("PicturePath", ref _PicturePath, value);
            }
        }
        private string _Title;
        [Size(SizeAttribute.Unlimited)]
        public string Title
        {
            get
            {
                return _Title;
            }
            set
            {
                SetPropertyValue("Title", ref _Title, value);
            }
        }
        private long _Sizes;
        public long Sizes
        {
            get
            {
                return _Sizes;
            }
            set
            {
                SetPropertyValue("Sizes", ref _Sizes, value);
            }
        }
        private string _Uid;
        [Size(SizeAttribute.Unlimited)]
        public string Uid
        {
            get
            {
                return _Uid;
            }
            set
            {
                SetPropertyValue("Uid", ref _Uid, value);
            }
        }
        private string _Pixel;
        [Size(SizeAttribute.Unlimited)]
        public string Pixel
        {
            get
            {
                return _Pixel;
            }
            set
            {
                SetPropertyValue("Pixel", ref _Pixel, value);
            }
        }
        private string _Status;
        [Size(SizeAttribute.Unlimited)]
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private DateTime _GmtCreate;
        public DateTime GmtCreate
        {
            get
            {
                return _GmtCreate;
            }
            set
            {
                SetPropertyValue("GmtCreate", ref _GmtCreate, value);
            }
        }
        private DateTime _GmtModified;
        public DateTime GmtModified
        {
            get
            {
                return _GmtModified;
            }
            set
            {
                SetPropertyValue("GmtModified", ref _GmtModified, value);
            }
        }
        private bool _Success;
        public bool Success
        {
            get
            {
                return _Success;
            }
            set
            {
                SetPropertyValue("Success", ref _Success, value);
            }
        }
        private string _Deleted;
        [Size(SizeAttribute.Unlimited)]
        public string Deleted
        {
            get
            {
                return _Deleted;
            }
            set
            {
                SetPropertyValue("Deleted", ref _Deleted, value);
            }
        }
        private DateTime _Created;
        public DateTime Created
        {
            get
            {
                return _Created;
            }
            set
            {
                SetPropertyValue("Created", ref _Created, value);
            }
        }
        private DateTime _Modified;
        public DateTime Modified
        {
            get
            {
                return _Modified;
            }
            set
            {
                SetPropertyValue("Modified", ref _Modified, value);
            }
        }
        //end
    }
}
